﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleExpression
{
    public class PagingExpression : Expression
    {
        private int _start;
        private int _limit;

        //XML Required
        public PagingExpression()
        { 
        
        }

        public int Start
        { 
            get { return this._start; }
            set { this._start = value; } 
        }

        public int Limit
        {
            get { return this._limit; }
            set { this._limit = value; }
        }

        #region Expression

        public override void Accept(ExpressionVisitor visitor)
        {
            visitor.Visit(this);
        }

        #endregion

    }
}
